﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<%PowerGroup modelpowergroup = v.data("powergroup") as PowerGroup; %>
<%var bllPowerGroupService = new PowerGroupService(); %>

<!--后台子栏目列表-->
  <ul class="listbottonul" id="listbottonul">
      <%if (bllPowerGroupService.powercheck("system", "menulinkadd", modelpowergroup))
      { %>
      <li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_menulink}','Menu/MenuLinkAdd.aspx?mlid=<%=ctx.getInt("mlid") %>&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_menulink}" hidefocus="true">_{botton_add_menulink}</a></li>
      <%} %>
      <li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
      <%if (bllPowerGroupService.powercheck("system", "menulinkedit", modelpowergroup))
      { %>
      <li class="menumain"><a id="sortall" onclick="javascript:sortinput('#{sort}','#{load}','_{sort_messok}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{pid_botton}</a></li>
      <%} %>
      <li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{menulink_showtype}</span>
				<ul>
					<li><a class="menunoclick" id="articleisclass0" href="#body" onclick="javascript:dbfilter('articleisclass','isshow',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="articleisclass1" href="#body" onclick="javascript:dbfilter('articleisclass','isshow',1,1,3,'selectform','selectall','check_all')" title="_{menulink_showtype_show}" hidefocus="true">_{menulink_showtype_show}</a></li>
					<li><a class="menuclick" id="articleisclass2" href="#body" onclick="javascript:dbfilter('articleisclass','isshow',2,2,3,'selectform','selectall','check_all')" title="_{menulink_showtype_hidden}" hidefocus="true">_{menulink_showtype_hidden}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("system", "menulinkdel", modelpowergroup))
      { %>
      <li class="menumain"><a class="deleteCmd" id="del" onclick="javascript:callrun('#{del}','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
    <%} %>
    <li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("system", "menulinkedit", modelpowergroup))
      { %>
      <li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{menulink_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('MenuLinkListSetting.aspx?Action=ShowHide','selectinfoid',true,'isshow',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{menulink_showtype_show}" hidefocus="true">_{menulink_showtype_show}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('MenuLinkListSetting.aspx?Action=ShowHide','selectinfoid',true,'isshow',0,'#{load}','_{update_messok}','_{refresh_botton}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{menulink_showtype_hidden}" hidefocus="true">_{menulink_showtype_hidden}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%} %>
  </ul>